package com.qf.shop.auth.feign.api;

import com.qf.shop.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "shop-car", path = "/car")
public interface CarService {

    @GetMapping("/getUserCarCount")
    public Integer getUserCarCount();

    @GetMapping("/mergeCar")
    public R mergeCar(@RequestParam("uid") String uid);
}
